import { get,post } from '@/utils/request'

export default {
  getPartTimeList: query => get('/api/admin/deptUser/list', query),
  getDepartsFilterList: query => get('/api/admin/dept/list/kv', query),
  getEmployeeFilterList: query => get('/api/admin/employee/list/kv', query),
  addPartTime: query => post('/api/admin/deptUser/add/', query),
  delPartTime: id => post('/api/admin/deptUser/del?id=' + id)
  // delPartTime: query => post('/api/admin/deptUser/del/' + query)
}
